package com.ccg.entity;

import java.util.List;

public class Order {
    private int order_id;
    private String orderTime;
    private int u_id;               //下单的用户u_id
    private String userPhone;
    private String arrireDate;
    private String leaveDate;
    private String admin_remark;
    private String user_remark;
    private double orderMoney;
    private double realMoney;
    private int roomNumber;
    private int orderStatus;         //订单状态,0未审核，1审核通过,2用户入住,3用户入住后退房,订单完成.-1用户取消订单，-2酒店拒绝该订单
    private boolean userDelete;
    List<Order_Room> order_Rooms;    //订单关联的入住房间实体

    public List<Order_Room> getOrder_Rooms() {
        return order_Rooms;
    }

    public void setOrder_Rooms(List<Order_Room> order_Rooms) {
        this.order_Rooms = order_Rooms;
    }

    public boolean isUserDelete() {
        return userDelete;
    }

    public void setUserDelete(boolean userDelete) {
        this.userDelete = userDelete;
    }

    public int getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(int roomNumber) {
        this.roomNumber = roomNumber;
    }
    public int getOrder_id() {
        return order_id;
    }
    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }
    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getArrireDate() {
        return arrireDate;
    }

    public void setArrireDate(String arrireDate) {
        this.arrireDate = arrireDate;
    }

    public String getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getAdmin_remark() {
        return admin_remark;
    }

    public void setAdmin_remark(String admin_remark) {
        this.admin_remark = admin_remark;
    }

    public String getUser_remark() {
        return user_remark;
    }

    public void setUser_remark(String user_remark) {
        this.user_remark = user_remark;
    }

    public double getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(double orderMoney) {
        this.orderMoney = orderMoney;
    }

    public double getRealMoney() {
        return realMoney;
    }

    public void setRealMoney(double realMoney) {
        this.realMoney = realMoney;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }
}